package com.contract.service;

import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.contract.model.Contract;
import com.enterprise.domain.Enterprise;

public interface ContractService 
{
    void addOrupdateContract(Contract contract)throws Exception;
    void addOrupdateContractJG(Contract contract)throws Exception;
    public List<Enterprise> getSellerInfo(Map map);
    public String contactSearchDataDetail(Map para);
    public int getUserIndex(String userid);
    public Contract getContract(Map map);
    public Contract getContractJG(Map map);
    public String commitmentSearchDataDetail(Map para) throws Exception;
    public void commitmentUploadRecord(Map para);
    public int getContractCount(Map map);
    public Map getContractStatis(Map map);
    public Map getRightTypeStatis(Map map);
    public Map getTechFieldStatis(Map map);
    public Map getEconomyTypeStatis(Map map);
    public Map getBuyerTypeStatis(Map map);
    
    public void contractUploadRecord(Map para);
    
    public String parseZipFile(File zipFile) throws Exception;
    public List loadContractInfo(Map para);
    public Map getSeniorContractTypeStatis(Map map);
    public Map getSeniorContractType2Statis(Map map);
    public Map getSeniorPlanTypeStatis(Map map);
    public Map getSeniorPlanType2Statis(Map map);
    public Map getSeniorRightType2Statis(Map map);
    public Map getSeniorRightTypeStatis(Map map);
    public Map getSeniorTechFieldStatis(Map map);
    public Map getSeniorTechField2Statis(Map map);
    public Map getSeniorTechField3Statis(Map map);
    public Map getSeniorEconomTypeStatis(Map map);
    public Map getSeniorPayMethodStatis(Map map);
    public Map getSeniorBuyerTypeStatis(Map map);
    public Map getSeniorBuyerType2Statis(Map map);
    public Map getSeniorBuyerType3Statis(Map map);
    public Map getBuyerTypePlanStatis(Map map);
    public Map getBuyerSiteContractTypeStatis(Map map);
    public Map getSeniorBuyerSiteStatis(Map map);
	public List getBuyerSiteID(String buyerSiteID);
	public List getContractProjName(Map map);
	public List getContractProjNameJG(Map map);
	public String commitmentSearchDataDetailTemp(Map para);
	public String contractJGSearchData(Map map);
	public String doContractPreview(String contractIndexId) throws Exception;
	public String getRdqdList(Map<String,Object> params);
	public int getRdqdCount(Map<String, Object> params);
	
	public String getDjyRdqdList(Map<String,Object> params);
    public int getDjyRdqdCount(Map<String, Object> params);
    
    public String getSpyRdqdList(Map<String,Object> params);
    public int getSpyRdqdCount(Map<String, Object> params);
	
}
